[INFO] fetching crate tari_template_lib_types 0.27.2...
[INFO] fixing tari_template_lib_types-0.27.2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate tari_template_lib_types 0.27.2 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate tari_template_lib_types 0.27.2
[INFO] finished tweaking crates.io crate tari_template_lib_types 0.27.2
[INFO] tweaked toml for crates.io crate tari_template_lib_types 0.27.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tari_template_lib_types 0.27.2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tari_template_lib_types 0.27.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tari_template_abi v0.17.1
[INFO] [stderr]   Downloaded ts-rs-macros v11.1.0
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.7
[INFO] [stderr]   Downloaded ts-rs v11.1.0
[INFO] [stderr]   Downloaded cc v1.2.52
[INFO] [stderr]   Downloaded thiserror-impl-no-std v2.0.2
[INFO] [stderr]   Downloaded tari_merlin v4.0.0
[INFO] [stderr]   Downloaded thiserror-no-std v2.0.2
[INFO] [stderr]   Downloaded rand_chacha v0.10.0
[INFO] [stderr]   Downloaded tari_utilities v0.10.0
[INFO] [stderr]   Downloaded borsh-derive v1.6.0
[INFO] [stderr]   Downloaded snafu-derive v0.7.5
[INFO] [stderr]   Downloaded rustcrypto-group v0.14.0-rc.1
[INFO] [stderr]   Downloaded tari_bor v0.14.1
[INFO] [stderr]   Downloaded rustcrypto-ff v0.14.0-rc.1
[INFO] [stderr]   Downloaded zmij v1.0.13
[INFO] [stderr]   Downloaded minicbor-derive v0.19.4
[INFO] [stderr]   Downloaded minicbor v2.2.2
[INFO] [stderr]   Downloaded snafu v0.7.5
[INFO] [stderr]   Downloaded bnum v0.13.0
[INFO] [stderr]   Downloaded borsh v1.6.0
[INFO] [stderr]   Downloaded tari_crypto v0.23.0
[INFO] [stderr]   Downloaded curve25519-dalek v5.0.0-pre.6
[INFO] [stderr]   Downloaded fiat-crypto v0.3.0
[INFO] [stderr]   Downloaded tari_bulletproofs_plus v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 301bb5d167b0d701cd1b23240df96ef2aecf6f3b12c89fdd68f65a4819b9ddf7
[INFO] running `Command { std: "docker" "start" "301bb5d167b0d701cd1b23240df96ef2aecf6f3b12c89fdd68f65a4819b9ddf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "301bb5d167b0d701cd1b23240df96ef2aecf6f3b12c89fdd68f65a4819b9ddf7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "301bb5d167b0d701cd1b23240df96ef2aecf6f3b12c89fdd68f65a4819b9ddf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "301bb5d167b0d701cd1b23240df96ef2aecf6f3b12c89fdd68f65a4819b9ddf7" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling portable-atomic v1.13.0
[INFO] [stderr]     Checking rustcrypto-ff v0.14.0-rc.1
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling curve25519-dalek v5.0.0-pre.6
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling borsh v1.6.0
[INFO] [stderr]     Checking rustcrypto-group v0.14.0-rc.1
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling zmij v1.0.13
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling toml_edit v0.23.10+spec-1.0.0
[INFO] [stderr]     Checking rand_chacha v0.10.0
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling thiserror-impl-no-std v2.0.2
[INFO] [stderr]    Compiling snafu-derive v0.7.5
[INFO] [stderr]     Checking thiserror-no-std v2.0.2
[INFO] [stderr]     Checking snafu v0.7.5
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling minicbor-derive v0.19.4
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling borsh-derive v1.6.0
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking tari_merlin v4.0.0
[INFO] [stderr]     Checking tari_utilities v0.10.0
[INFO] [stderr]     Checking minicbor v2.2.2
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tari_bor v0.14.1
[INFO] [stderr]     Checking tari_template_abi v0.17.1
[INFO] [stderr]     Checking tari_template_lib_types v0.27.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tari_bulletproofs_plus v0.5.0
[INFO] [stderr]     Checking tari_crypto v0.23.0
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]    --> src/crypto/ristretto.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     use serde::{Deserialize, Serialize};
[INFO] [stdout]     |         ^^^^^ use of unresolved module or unlinked crate `serde`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `amount::amount::Amount: serde::Serialize` is not satisfied
[INFO] [stdout]    --> src/amount/amount.rs:675:38
[INFO] [stdout]     |
[INFO] [stdout] 675 |         let b = serde_json::to_value(a).unwrap();
[INFO] [stdout]     |                 -------------------- ^ unsatisfied trait bound
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `serde::Serialize` is not implemented for `amount::amount::Amount`
[INFO] [stdout]    --> src/amount/amount.rs:104:1
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct Amount(#[cfg_attr(feature = "ts", ts(type = "string | number | bigint"))] pub(super) u128);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Serialize)]` to your `amount::amount::Amount` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]     = help: the following other types implement trait `serde::Serialize`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]             and 153 others
[INFO] [stdout] note: required by a bound in `serde_json::to_value`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/value/mod.rs:997:8
[INFO] [stdout]     |
[INFO] [stdout] 995 | pub fn to_value<T>(value: T) -> Result<Value, Error>
[INFO] [stdout]     |        -------- required by a bound in this function
[INFO] [stdout] 996 | where
[INFO] [stdout] 997 |     T: Serialize,
[INFO] [stdout]     |        ^^^^^^^^^ required by this bound in `to_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `max_bytes::MaxBytes<5>: serde::Serialize` is not satisfied
[INFO] [stdout]     --> src/max_bytes.rs:210:52
[INFO] [stdout]      |
[INFO] [stdout]  210 |             let serialized = serde_json::to_string(&original).unwrap();
[INFO] [stdout]      |                              --------------------- ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                              |
[INFO] [stdout]      |                              required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::Serialize` is not implemented for `max_bytes::MaxBytes<5>`
[INFO] [stdout]     --> src/max_bytes.rs:18:1
[INFO] [stdout]      |
[INFO] [stdout]   18 | pub struct MaxBytes<const N: usize>(Box<[u8]>);
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `max_bytes::MaxBytes<5>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 153 others
[INFO] [stdout] note: required by a bound in `serde_json::to_string`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/ser.rs:2247:17
[INFO] [stdout]      |
[INFO] [stdout] 2245 | pub fn to_string<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        --------- required by a bound in this function
[INFO] [stdout] 2246 | where
[INFO] [stdout] 2247 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `max_bytes::MaxBytes<5>: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/max_bytes.rs:212:45
[INFO] [stdout]      |
[INFO] [stdout]  212 |             let deserialized: MaxBytes<5> = serde_json::from_str(&serialized).unwrap();
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::Deserialize<'_>` is not implemented for `max_bytes::MaxBytes<5>`
[INFO] [stdout]     --> src/max_bytes.rs:18:1
[INFO] [stdout]      |
[INFO] [stdout]   18 | pub struct MaxBytes<const N: usize>(Box<[u8]>);
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `max_bytes::MaxBytes<5>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 165 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/de.rs:2701:8
[INFO] [stdout]      |
[INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2700 | where
[INFO] [stdout] 2701 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `max_bytes::MaxBytes<5>: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/max_bytes.rs:231:65
[INFO] [stdout]      |
[INFO] [stdout]  231 |             let err: serde_json::Error = serde_json::from_str::<MaxBytes<5>>(json).unwrap_err();
[INFO] [stdout]      |                                                                 ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::Deserialize<'_>` is not implemented for `max_bytes::MaxBytes<5>`
[INFO] [stdout]     --> src/max_bytes.rs:18:1
[INFO] [stdout]      |
[INFO] [stdout]   18 | pub struct MaxBytes<const N: usize>(Box<[u8]>);
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `max_bytes::MaxBytes<5>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 165 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/de.rs:2701:8
[INFO] [stdout]      |
[INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2700 | where
[INFO] [stdout] 2701 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `max_string::MaxString<5>: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/max_string.rs:211:65
[INFO] [stdout]      |
[INFO] [stdout]  211 |             let err: serde_json::Error = serde_json::from_str::<MaxString<5>>(json).unwrap_err();
[INFO] [stdout]      |                                                                 ^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::Deserialize<'_>` is not implemented for `max_string::MaxString<5>`
[INFO] [stdout]     --> src/max_string.rs:13:1
[INFO] [stdout]      |
[INFO] [stdout]   13 | pub struct MaxString<const N: usize>(Box<str>);
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `max_string::MaxString<5>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 165 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/de.rs:2701:8
[INFO] [stdout]      |
[INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2700 | where
[INFO] [stdout] 2701 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `max_vec::MaxVec<5, u8>: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/max_vec.rs:254:65
[INFO] [stdout]      |
[INFO] [stdout]  254 |             let err: serde_json::Error = serde_json::from_str::<MaxVec<5, u8>>(json).unwrap_err();
[INFO] [stdout]      |                                                                 ^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::Deserialize<'_>` is not implemented for `max_vec::MaxVec<5, u8>`
[INFO] [stdout]     --> src/max_vec.rs:14:1
[INFO] [stdout]      |
[INFO] [stdout]   14 | pub struct MaxVec<const N: usize, T> {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `max_vec::MaxVec<5, u8>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 165 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/de.rs:2701:8
[INFO] [stdout]      |
[INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2700 | where
[INFO] [stdout] 2701 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `non_fungible::NonFungibleAddress: serde::Serialize` is not satisfied
[INFO] [stdout]     --> src/substates/non_fungible.rs:489:53
[INFO] [stdout]      |
[INFO] [stdout]  489 |             let json = serde_json::to_string_pretty(&v).unwrap();
[INFO] [stdout]      |                        ---------------------------- ^^ unsatisfied trait bound
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::Serialize` is not implemented for `non_fungible::NonFungibleAddress`
[INFO] [stdout]     --> src/substates/non_fungible.rs:243:1
[INFO] [stdout]      |
[INFO] [stdout]  243 | pub struct NonFungibleAddress(BorTag<NonFungibleAddressContents, TAG>);
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `non_fungible::NonFungibleAddress` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 153 others
[INFO] [stdout] note: required by a bound in `to_string_pretty`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/ser.rs:2266:17
[INFO] [stdout]      |
[INFO] [stdout] 2264 | pub fn to_string_pretty<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        ---------------- required by a bound in this function
[INFO] [stdout] 2265 | where
[INFO] [stdout] 2266 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string_pretty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `non_fungible::NonFungibleAddress: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/substates/non_fungible.rs:493:44
[INFO] [stdout]      |
[INFO] [stdout]  493 |             let r = serde_json::from_str::<NonFungibleAddress>(&json).unwrap();
[INFO] [stdout]      |                                            ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::Deserialize<'_>` is not implemented for `non_fungible::NonFungibleAddress`
[INFO] [stdout]     --> src/substates/non_fungible.rs:243:1
[INFO] [stdout]      |
[INFO] [stdout]  243 | pub struct NonFungibleAddress(BorTag<NonFungibleAddressContents, TAG>);
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `non_fungible::NonFungibleAddress` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 165 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/de.rs:2701:8
[INFO] [stdout]      |
[INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2700 | where
[INFO] [stdout] 2701 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `resource::ResourceAddress: serde::Serialize` is not satisfied
[INFO] [stdout]     --> src/substates/resource.rs:126:53
[INFO] [stdout]      |
[INFO] [stdout]  126 |             let json = serde_json::to_string_pretty(&resource).unwrap();
[INFO] [stdout]      |                        ---------------------------- ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::Serialize` is not implemented for `resource::ResourceAddress`
[INFO] [stdout]     --> src/substates/resource.rs:48:1
[INFO] [stdout]      |
[INFO] [stdout]   48 | pub struct ResourceAddress(#[cfg_attr(feature = "ts", ts(type = "string"))] BorTag<ObjectKey, TAG>);
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `resource::ResourceAddress` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 153 others
[INFO] [stdout] note: required by a bound in `to_string_pretty`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/ser.rs:2266:17
[INFO] [stdout]      |
[INFO] [stdout] 2264 | pub fn to_string_pretty<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        ---------------- required by a bound in this function
[INFO] [stdout] 2265 | where
[INFO] [stdout] 2266 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string_pretty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `resource::ResourceAddress: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/substates/resource.rs:130:44
[INFO] [stdout]      |
[INFO] [stdout]  130 |             let r = serde_json::from_str::<ResourceAddress>(&json).unwrap();
[INFO] [stdout]      |                                            ^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde::Deserialize<'_>` is not implemented for `resource::ResourceAddress`
[INFO] [stdout]     --> src/substates/resource.rs:48:1
[INFO] [stdout]      |
[INFO] [stdout]   48 | pub struct ResourceAddress(#[cfg_attr(feature = "ts", ts(type = "string"))] BorTag<ObjectKey, TAG>);
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `resource::ResourceAddress` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 165 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/de.rs:2701:8
[INFO] [stdout]      |
[INFO] [stdout] 2699 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout]      |        -------- required by a bound in this function
[INFO] [stdout] 2700 | where
[INFO] [stdout] 2701 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tari_template_lib_types` (lib test) due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "301bb5d167b0d701cd1b23240df96ef2aecf6f3b12c89fdd68f65a4819b9ddf7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "301bb5d167b0d701cd1b23240df96ef2aecf6f3b12c89fdd68f65a4819b9ddf7", kill_on_drop: false }`
[INFO] [stdout] 301bb5d167b0d701cd1b23240df96ef2aecf6f3b12c89fdd68f65a4819b9ddf7
